Added driver for HiFiBerry Amp amplifier add-on board
authorDaniel Matuschek <info@crazy-audio.com>
Mon, 4 Aug 2014 09:09:58 +0000 (11:09 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 20:27:13 +0000 (20:27 +0000)
commit49d83eb411d07f1ccce50b957bae1a4bfddf3527
tree0ea2f4ea668f94c540e9911d953995d4c895155f
parentfc3445361e70c7a9c7c79afb0f4bdc026999fb47
Added driver for HiFiBerry Amp amplifier add-on board

The driver contains a low-level hardware driver for the TAS5713 and the
drivers for the Raspberry Pi I2S subsystem.

TAS5713: return error if initialisation fails

Existing TAS5713 driver logs errors during initialisation, but does not return
an error code. Therefore even if initialisation fails, the driver will still be
loaded, but won't work. This patch fixes this. I2C communication error will now
reported correctly by a non-zero return code.

HiFiBerry Amp: fix device-tree problems

Some code to load the driver based on device-tree-overlays was missing. This is added by this patch.

hifiberry-amp: Adjust for ALSA object refactoring

See: https://github.com/raspberrypi/linux/issues/1775
sound/soc/bcm/Kconfig
sound/soc/bcm/Makefile
sound/soc/bcm/hifiberry_amp.c [new file with mode: 0644]
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/tas5713.c [new file with mode: 0644]
sound/soc/codecs/tas5713.h [new file with mode: 0644]